package ty.tryagainforever1129.pikachumemory.model;

/** @author tranvanthe item model. */
public class ItemModel {
    /** width. */
    private int width;
    /** height. */
    private int height;
    /** drawable click. */
    private int click;
    /** drawable nomal. */
    private int nomal;
    /** rule layout. */
    private int[] rule;
    public ItemModel(int mwidht, int mheight, int[] mrule,
            int mclick, int mnomal) {
        setWidth(mwidht);
        setHeight(mheight);
        setRule(mrule);
        setClick(mclick);
        setNomal(mnomal);
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int[] getRule() {
        return rule;
    }

    public void setRule(int[] rule) {
        this.rule = rule;
    }
    public int getRuleAt(int postion) {
        return this.rule[postion];
    }
    public int getClick() {
        return click;
    }
    public void setClick(int click) {
        this.click = click;
    }
    public int getNomal() {
        return nomal;
    }
    public void setNomal(int nomal) {
        this.nomal = nomal;
    }
}
